using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Quotes
{
    public partial class StringCollectionEditor : Form
    {
        public string[] symbols;

        public StringCollectionEditor(string[] symbols)
        {
            InitializeComponent();
            txtSymbols.Lines = symbols;
        }

        private void btnOK_Click(object sender, EventArgs e)
        {
            symbols = txtSymbols.Lines;
            this.Close();
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}